package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;


import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    void saveWithDish(SetmealDto setmealDto);

    R<Page> findByPage(int page,int pagaSize,String name);

    void deleteByIds(List<Long> ids);

    R<String> setStatus(Integer status, List<Long> ids);

    R<List<Setmeal>> list(Setmeal setmeal);

    SetmealDto getByIdWithDish(Long id);

    void updateWithDish(SetmealDto SetmealDto);
}
